package com.txx.myspringboot.listener.weathlistener.listener;

import com.txx.myspringboot.listener.weathlistener.event.RainEvent;
import com.txx.myspringboot.listener.weathlistener.event.WeathEvent;


public class RainListener implements WeatherListener<RainEvent> {
    @Override
    public void onWeathEvent(RainEvent weathEvent) {
        System.out.println(weathEvent.geNowWeath());
    }
}
